package com.tan.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "focus_user")
public class FocusUser {
    private ObjectId id;
    private Long userId;//用户id
    private Long focusUserId;//关注用户id
    private Long created;//关注时间
}
